package com.mushuilingfeng.ddd.user.domain.org.repository;

import com.mushuilingfeng.ddd.user.domain.org.entity.OrgApply;
import com.mushuilingfeng.ddd.user.domain.org.vo.OrgApplyDetail;
import com.mushuilingfeng.ddd.framework.repository.IDomainRepository;

import java.util.List;

/**
 * @author
 * @date 2024/9/18
 */
public interface IOrgApplyRepository extends IDomainRepository<OrgApply> {

    /**
     * 获取用户的申请列表
     *
     * @param userId 用户id
     * @return List<OrgApplyDetail>
     */
    List<OrgApplyDetail> userOrgApplyList(Long userId);

}
